package com.springboot.demo.repository;

import com.springboot.demo.domain.Dictionary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DictionaryRepository extends JpaRepository<Dictionary, Long> {

    Dictionary findDictionaryByDictionaryCodeAndParentDictionaryCode(String dictionaryCode, String parentDictionaryCode);

}
